﻿@model SoftMedia.Opcion.Web.Models.ContactenosModel
@{
    ViewBag.Title = "Enviar";
}
<script src="@Url.Content("~/SpryAssets/SpryValidationTextField.js")" type="text/javascript"></script>
<script src="@Url.Content("~/SpryAssets/SpryValidationSelect.js")" type="text/javascript"></script>
<script src="@Url.Content("~/SpryAssets/SpryValidationTextarea.js")" type="text/javascript"></script>
<link href="@Url.Content("~/SpryAssets/SpryValidationTextField.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/SpryAssets/SpryValidationSelect.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/SpryAssets/SpryValidationTextarea.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.js")" type="text/javascript"></script>
<style type="text/css">
    span.ErrorEnviarTextField
    {
        color: #CC3333;
    }
</style>
<div id="contenido">
    <div class="reasam-nov">
        <div class="nov-enc">
            <div class="nov-tit">
                <h1 class="tit">
                    Cont&aacute;ctenos</h1>
            </div>
        </div>
        <div class="contact-cont">
            @{Html.EnableClientValidation();}
            <div class="contact-form">
                @using (Html.BeginForm())
                {
                    @Html.ValidationSummary(true, "Algunos campos son obligatorios. Porfavor revise los campos e intente nuevamente.")
                    <br />
                
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td valign="top">
                            </td>
                            <td valign="top" class="contact-subtit">
                                Datos Personales
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Nombre/Apellidos:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield1">
                                    @Html.TextBoxFor(m => m.nombres, new { @class = "contact-input" })
                                    <span class="ErrorEnviarTextField">@Html.ValidationMessageFor(m => m.nombres)</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Direcci&oacute;n:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield2">
                                    @Html.TextBoxFor(m => m.direccion, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Ciudad:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield3">
                                    @Html.TextBoxFor(m => m.ciudad, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Tel&eacute;fono:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield4">
                                    @Html.TextBoxFor(m => m.telefono, new { @class = "contact-input" })
                                    <span class="ErrorEnviarTextField">@Html.ValidationMessageFor(m => m.telefono)</span>
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Celular:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield5">
                                    @Html.TextBoxFor(m => m.celular, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Email:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield6">
                                    @Html.TextBoxFor(m => m.email, new { @class = "contact-input" })
                                    <span class="ErrorEnviarTextField">
                                        @Html.ValidationMessageFor(m => m.email)</span> <span class="textfieldRequiredMsg">Se
                                            necesita un valor.</span><span class="textfieldInvalidFormatMsg">Formato no v&aacute;lido.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                            </td>
                            <td valign="top" class="contact-subtit">
                                <br />
                                Informaci&oacute;n Laboral
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Empresa:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield7">
                                    @Html.TextBoxFor(m => m.empresaNombre, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Direcci&oacute;n:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield8">
                                    @Html.TextBoxFor(m => m.empresaDireccion, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Ciudad:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield9">
                                    @Html.TextBoxFor(m => m.empresaCiudad, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Tel&eacute;fono:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield10">
                                    @Html.TextBoxFor(m => m.empresaTelefono, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Fax:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield11">
                                    <input type="text" name="fax-empresa" id="fax-empresa" class="contact-input" />
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Email:
                            </td>
                            <td valign="top">
                                <span id="sprytextfield12">
                                    @Html.TextBoxFor(m => m.empresaEmail, new { @class = "contact-input" })
                                    <span class="textfieldRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                            </td>
                            <td valign="top" class="contact-subtit">
                                <br />
                                OPCI&Oacute;N TOYOTA &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OPCI&Oacute;N INMUEBLE
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Producto de su inter&eacute;s:
                            </td>
                            <td valign="top">
                                <span id="spryselect1">
                                    @Html.DropDownListFor(m => m.stringToyota,
                                                            new SelectList(Model.opcionToyota as System.Collections.IEnumerable, "Value", "Text"),
                                                            "Elegir",
                                                            new { @class = "contact-select" })
                                    <span class="selectRequiredMsg">Seleccione un elemento.</span></span> &nbsp;&nbsp;
                                <span id="spryselect2">
                                    @Html.DropDownListFor(m => m.stringInmueble,
                                                            new SelectList(Model.opcionInmueble as System.Collections.IEnumerable, "Value", "Text"),
                                                            "Elegir",
                                                            new { @class = "contact-select" })
                                    <span class="selectRequiredMsg">Seleccione un elemento.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                Sugerencias:
                            </td>
                            <td valign="top">
                                <span id="sprytextarea1">
                                    @Html.TextAreaFor(m => m.sugerencias, new { @class = "contact-txtarea" })
                                    <span class="textareaRequiredMsg">Se necesita un valor.</span></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="contact-lab" valign="top">
                                &nbsp;
                            </td>
                            <td valign="top">
                                <input type="submit" name="ENVIAR" id="ENVIAR" value="ENVIAR" class="contact-btn" />
                            </td>
                        </tr>
                    </table>
                }
            </div>
            <div class="contact-dato">
                <p>
                    <span class="txt-red"><b>Oficina Principal</b></span><br />
                    Calle Salaverry 152 - Miraflores Lima (Alt. Cuadra 44 de la Av. Arequipa)</p>
                <p>
                    <b>Fonopci&oacute;n: 712 3500</b><br />
                     C.C. Mega Plaza, entre Tottus y Ripley Max<br />
                     C.C. Plaza Lima Sur (Metro Chorrillos)<br />
                     C.C. Plaza Norte<br />
                     C.C. Mall Aventura Plaza Bellavista</p>
                <div class="contact-ubic">
                    <iframe width="391" height="332" frameborder="0" scrolling="no" marginheight="0"
                        marginwidth="0" src="http://maps.google.es/maps/ms?ie=UTF8&amp;hl=es&amp;msa=0&amp;msid=203461670706036968124.0004987d93f41ad8043d5&amp;ll=-12.109655,-77.029953&amp;spn=0.012588,0.012832&amp;z=15&amp;output=embed">
                    </iframe>
                    <br />
                    <small>Ver <a href="http://maps.google.es/maps/ms?ie=UTF8&amp;hl=es&amp;msa=0&amp;msid=203461670706036968124.0004987d93f41ad8043d5&amp;ll=-12.109655,-77.029953&amp;spn=0.012588,0.012832&amp;z=15&amp;source=embed"
                        style="color: #0000FF; text-align: left" target="_blank">Locales Opci&oacute;n Lima</a>
                        en un mapa m&aacute;s grande</small></div>
            </div>
        </div>
    </div>
</div>
